using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PQT.UI
{
    public partial class ABMForm : Form
    {
        #region propiedades
        private ABMController _ControladorPantalla = null;
        internal ABMController ctrlABM
        {
            get { return _ControladorPantalla; }            
        }
                
        public string Titulo
        {
            get { return this.Text; }
            set { this.Text = value; }
        }
        #endregion propiedades

        public ABMForm()
        {
            InitializeComponent();
            inicializarPantalla();
        }

        
        #region general
            #region metodos
            private void inicializarPantalla()
            {
                _ControladorPantalla = new ABMController();
                this.Titulo = ctrlABM.getTitulo();

            }
            #endregion metodos

            #region eventos

                private void btnSalir_Click(object sender, EventArgs e)
                {
                    ctrlABM.salir(this);
                }
            #endregion eventos
        #endregion General

        #region Buscar
        private void ABMForm_Load(object sender, EventArgs e)
        {

        }

        private void tabPage1_Click(object sender, EventArgs e)
        {

        }


        #endregion Buscar

        private void label17_Click(object sender, EventArgs e)
        {

        }

        #region Nuevo

        #endregion Nuevo

        #region Modificar

        #endregion Modificar


        

    }
}